package com.elegantmall.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("seller")
public class SellerPojo {



    @TableId(value="seller_name",type= IdType.ASSIGN_ID)
    private String sellerName;

    @TableField("password")
    private String password;

    @TableField("nick_name")
    private String nickName;
}
